﻿@model LibMS.Models.LibCategories
@{
    ViewBag.Title = "CategoryDetail";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<!-- Page info-->
<div class="well well-sm">
    <h4 class="text-success">Danh mục tài liệu</h4>
</div>
<!-- /. End Page info-->
<div class="row">
    <!-- Document item-->
    <div class="col-lg-8">
        @if (Convert.ToBoolean(ViewData["success"]) == true)
        {
            <div id="categoryItems">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <div class="panel panel-default">
                            <div class="panel-heading"><strong>@Model.CategoryName)</strong></div>
                            <div class="panel-body">
                                <div class="row">
                                    <p>Tổng số tài liệu: </p>
                                    <ul style="margin-left: 8px">
                                        <li><a href="#">ádasdasd</a></li>
                                        <li><a href="#">ádasdasd</a></li>
                                        <li><a href="#">ádasdasd</a></li>
                                        <li><a href="#">ádasdasd</a></li>
                                    </ul>
                                </div>
                                <a class="pull-right" href="/documents/category/@Model.CategoryId"><strong>Xem chi tiết ...</strong></a>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        }
        else
        {

        }
    </div>
    <!-- /.End Document item-->
    <!-- Document category-->
    <div class="col-lg-4">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title"><strong>Danh mục tài liệu</strong></h3>
            </div>
            <div class="panel-body">
                <div class="hidden-print">
                    <ul class="nav danhmucsach">
                        <li><a href="#">Danh mục 1</a></li>
                        <li><a href="#">Danh mục 2</a></li>
                        <li><a href="#">Danh mục 3</a></li>
                        <li><a href="#">Danh mục 4</a></li>
                        <li><a href="#">Danh mục 5</a></li>
                        <li><a href="#">Danh mục 6</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <!-- /. End Document category-->
</div>

@section JS {
    @*<script src="~/Scripts/App/LibDocuments/ListDocuments.js"></script>
    <script src="~/Scripts/App/DataService.js"></script>
    <script src="~/Scripts/Plugins/date.format.js"></script>
    <script type="text/javascript">
        var total = @ViewData["total"];
        var libDocuments = new LibDocuments(total, 5, 1, 'CreateDate');
        libDocuments.Init();
    </script>*@
}

